'''
Created on Apr 20, 2012

@author: root
'''

class Module:


    filePath = ""
    rpmname = ""
    name = ""
    epoch = ""
    version = ""
    release = ""
    status = 0
    dependencyCheck = True
    dependencyInfo = ""
    installOrder = 0
    
    def __init__(self,filePath,dependencyCheck,installOrder=0):
        self.filePath =filePath
        self.installOrder = installOrder
        self.dependencyCheck = dependencyCheck
        pathArray = str(self.filePath).split('/')
        self.rpmname =  pathArray[len(pathArray)-1][:-4]
      
